<!DOCTYPE html>
<html>


<!-- Mirrored from www.zi-han.net/theme/hplus/empty_page.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:19:52 GMT -->
<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>自主命题</title>

    <!--<link rel="shortcut icon" href="../../favicon.ico">-->
    <!--<link rel="stylesheet" type="text/css" href="<%=basePath%>/assets/lib/Hui-iconfont/1.0.8/iconfont.css"/>-->
    <link href="../../css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="../../css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="../../css/animate.min.css" rel="stylesheet">
    <link href="../../css/style.min862f.css?v=4.1.0" rel="stylesheet">
    <!--单选框样式-->
    <link href="../../css/labelauty.css" rel="stylesheet"/>

    <script src="../../js/jquery.min.js?v=2.1.4"></script>
    <script src="../../js/bootstrap.min.js?v=3.3.6"></script>
    <script src="../../js/content.min.js?v=1.0.0"></script>
    <!--<script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>-->
    <script src="../../js/plugins/layer/layer.js"></script>
    <script src="../../js/template.js"></script>
    <!--单选框js-->
    <script src="../../js/labelauty.js"></script>
    <script src="../js/exam-add.js"></script>
    <style type="text/css">
        /**********************************自定义单选框样式******************************************/
        .rdo{
            height: 34px;
            border: 1px solid #e5e6e7;
        }
        .rdobox{
            border-radius: 0;
            height: 34px;
        }
        /**********************************自定义单选框样式******************************************/

        label{
           margin-bottom: 0px;
        }

        .waring {
            position: fixed;
            top: 18%;
            right: 12%;
            min-height: 80px;
            width: 15%;
        }

        /*去圆角*/
        .nav-tabs li a{
            border-radius: 0 0 0 0;
        }
    </style>
</head>

<body class="gray-bg" onload="getTime()">
<br>
<div class="wrapper wrapper-content animated fadeInUp waring">
    <ul class="notes">
        <li>
            <div style="transform:rotate(8deg);">
                <small id="date-time" style="text-align: left;width: 92%"></small>
                <h4>温馨提示</h4>
                <p>试题题干不可与已存在的试题题干相同，系统将会对此进行验证。需要增加答案或者主治项时，请点击添加按钮。需要减少答案或者主治项时，请点击“叉号”进行删除。</p>
            </div>
        </li>
    </ul>
</div>
<div class="wrapper wrapper-content animated fadeInRight">
    <!-- 显示状态 -->
    <input type="hidden" value="${status}" name="status">

    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="tabbable" id="tabs-576364">
                <ul class="nav nav-tabs">
                    <li class="active"><a href="#panel-1" data-toggle="tab">问答题</a></li>
                    <li><a href="#panel-2" data-toggle="tab">穴位定位</a></li>
                    <li><a href="#panel-3" data-toggle="tab">单项手法</a></li>
                    <li><a href="#panel-4" data-toggle="tab">成套手法</a></li>
                </ul>
                <br/>
                <div class="tab-content">
                    <!--问答-->
                    <div class="tab-pane active" id="panel-1">
                        <form class="form-horizontal" method="post" action="examinationSubmit" id="wenda">
                            <div class="col-md-9">
                                <!--试题分类-->
                                <div class="form-group">
                                    <label class="col-md-2 control-label">分类</label>
                                    <div class="col-md-9">
                                        <div class="rdo">
                                            <!--腧穴题-->
                                            <input type="radio" name="exam-category" class="rdolist" checked="checked"/>
                                            <label class="rdobox" radio-exam-category-val="问答题-腧穴题">
                                                <span class="check-image"></span>
                                                <span class="radiobox-content">腧穴题</span>
                                            </label>
                                            <!--内科-->
                                            <input type="radio" name="exam-category" class="rdolist" checked="checked"/>
                                            <label class="rdobox"  radio-exam-category-val="问答题-内科">
                                                <span class="check-image"></span>
                                                <span class="radiobox-content">内科</span>
                                            </label>
                                            <!--伤科-->
                                            <input type="radio" name="exam-category" class="rdolist" checked="checked"/>
                                            <label class="rdobox"  radio-exam-category-val="问答题-伤科">
                                                <span class="check-image"></span>
                                                <span class="radiobox-content">伤科</span>
                                            </label>
                                            <!--妇科-->
                                            <input type="radio" name="exam-category" class="rdolist" checked="checked"/>
                                            <label class="rdobox"  radio-exam-category-val="问答题-妇科">
                                                <span class="check-image"></span>
                                                <span class="radiobox-content">妇科</span>
                                            </label>
                                            <!--儿科-->
                                            <input type="radio" name="exam-category" class="rdolist" checked="checked"/>
                                            <label class="rdobox"  radio-exam-category-val="问答题-儿科">
                                                <span class="check-image"></span>
                                                <span class="radiobox-content">儿科</span>
                                            </label>
                                            <!--触诊-->
                                            <input type="radio" name="exam-category" class="rdolist" checked="checked"/>
                                            <label class="rdobox"  radio-exam-category-val="问答题-触诊">
                                                <span class="check-image"></span>
                                                <span class="radiobox-content">触诊</span>
                                            </label>
                                        </div>
                                    </div>
                                </div>
                                <!--题干-->
                                <div class="form-group">
                                    <label class="col-md-2 control-label">题干</label>
                                    <div class="col-md-9">
                                        <input type="text" name="stem" class="form-control" placeholder="请输入题干......" required id="acupoint-stem"/>
                                    </div>
                                </div>
                                <!--知识点、总分-->
                                <div class="form-group">
                                    <label class="col-md-2 control-label">知识点</label>
                                    <div class="col-md-4">
                                        <input type="text" class="form-control" name="knowledgePoint" placeholder="请输入知识点......" required/>
                                    </div>
                                    <label class="col-md-1 control-label">总分</label>
                                    <div class="col-md-4">
                                        <input type="number" name="totalScore" class="form-control totalScore1" placeholder="总分不必填写，将自动计算" disabled/>
                                    </div>
                                </div>
                                <!--大纲代码、认知层次-->
                                <div class="form-group">
                                    <label class="col-md-2 control-label">大纲代码</label>
                                    <div class="col-md-4">
                                        <input type="text" class="form-control" name="outlineCode" placeholder="请输入大纲代码......" required/>
                                    </div>

                                    <label class="col-md-1 control-label" style="padding-left:0;">认知层次</label>
                                    <div class="col-md-4">
                                        <select  name="cognitiveLevel" class="form-control">
                                            <option value="记忆">记忆</option>
                                            <option value="理解">理解</option>
                                            <option value="应用">应用</option>
                                        </select>
                                    </div>
                                </div>
                                <!--问答题答案模板-->
                                <div id="answer-content-wenda"></div>
                                <div class="form-group">
                                    <div class="col-md-6" style="text-align: center;">
                                        <input class="btn btn-default" type="button"  value="提交" style="background-color: #008200; color: white;"/>
                                        <button class="btn btn-default" type="reset">重置</button>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                    <!--穴位定位-->
                    <div class="tab-pane" id="panel-2">
                        <form class="form-horizontal" method="post" action="examinationSubmit" id="acupoint-location">
                            <div class="col-md-9">
                                <!--试题分类-->
                                <div class="form-group">
                                    <label class="col-md-2 control-label">分类</label>
                                    <div class="col-md-9">
                                        <div class="rdo">
                                                <!--成人穴位-->
                                                <input type="radio" name="exam-category" class="rdolist" checked="checked"/>
                                                <label class="rdobox" radio-exam-category-val="穴位定位-成人穴位">
                                                    <span class="check-image"></span>
                                                    <span class="radiobox-content">成人穴位</span>
                                                </label>
                                                <!--儿科穴位-->
                                                <input type="radio" name="exam-category" class="rdolist" checked="checked"/>
                                                <label class="rdobox" radio-exam-category-val="穴位定位-儿科穴位">
                                                    <span class="check-image"></span>
                                                    <span class="radiobox-content">儿科穴位</span>
                                                </label>
                                            </div>
                                    </div>
                                </div>
                                <!--题干-->
                                <div class="form-group">
                                    <label class="col-md-2 control-label">题干</label>
                                    <div class="col-md-9">
                                        <input type="text" name="stem" class="form-control" placeholder="请输入题干......" required id="acupoint-location-stem"/>
                                    </div>
                                </div>
                                <!--知识点、总分-->
                                <div class="form-group">
                                    <label class="col-md-2 control-label">知识点</label>
                                    <div class="col-md-4">
                                        <input type="text" class="form-control" name="knowledgePoint" placeholder="请输入知识点......" required/>
                                    </div>
                                    <label class="col-md-1 control-label">总分</label>
                                    <div class="col-md-4">
                                        <input type="number" name="totalScore" class="form-control totalScore1" placeholder="总分不必填写，将自动计算" disabled/>
                                    </div>
                                </div>
                                <!--大纲代码、认知层次-->
                                <div class="form-group">
                                    <label class="col-md-2 control-label">大纲代码</label>
                                    <div class="col-md-4">
                                        <input type="text" class="form-control" name="outlineCode" placeholder="请输入大纲代码......" required/>
                                    </div>

                                    <label class="col-md-1 control-label" style="padding-left: 0;">认知层次</label>
                                    <div class="col-md-4">
                                        <select  name="cognitiveLevel" class="form-control">
                                            <option value="记忆">记忆</option>
                                            <option value="理解">理解</option>
                                            <option value="应用">应用</option>
                                        </select>
                                    </div>
                                </div>
                                <!--穴位定位答案模板-->
                                <div id="answer-content-acupoint-location"></div>
                                <div class="form-group">
                                    <div class="col-md-6" style="text-align: center;">
                                        <input class="btn btn-default" type="submit" id="" value="提交" style="background-color: #008200; color: white;"/>
                                        <button class="btn btn-default" type="reset">重置</button>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                    <!-- 单项手法 -->
                    <div class="tab-pane" id="panel-3">
                        <form class="form-horizontal" method="post" action="examinationSubmit" id="single-ploy">
                            <div class="col-md-9">
                                <!--试题分类-->
                                <div class="form-group">
                                    <label class="col-md-2 control-label">分类</label>
                                        <div class="col-md-9">
                                            <div class="rdo">
                                                <!--成人手法-->
                                                <input type="radio" name="exam-category" class="rdolist" checked="checked"/>
                                                <label class="rdobox" radio-exam-category-val="单项手法-成人手法">
                                                    <span class="check-image"></span>
                                                    <span class="radiobox-content">成人手法</span>
                                                </label>
                                                <!--儿科手法-->
                                                <input type="radio" name="exam-category" class="rdolist" checked="checked"/>
                                                <label class="rdobox" radio-exam-category-val="单项手法-儿科手法">
                                                    <span class="check-image"></span>
                                                    <span class="radiobox-content">儿科手法</span>
                                                </label>
                                                <!--触诊诊断-->
                                                <input type="radio" name="exam-category" class="rdolist" checked="checked"/>
                                                <label class="rdobox" radio-exam-category-val="单项手法-触诊诊断">
                                                    <span class="check-image"></span>
                                                    <span class="radiobox-content">触诊诊断</span>
                                                </label>
                                            </div>
                                        </div>
                                </div>
                                <!--题干-->
                                <div class="form-group">
                                    <label class="col-md-2 control-label">题干</label>
                                    <div class="col-md-9">
                                        <input type="text" name="stem" class="form-control" placeholder="请输入题干......" required id="single-ploy-stem"/>
                                    </div>
                                </div>
                                <!--知识点、总分-->
                                <div class="form-group">
                                    <label class="col-md-2 control-label">知识点</label>
                                    <div class="col-md-4">
                                        <input type="text" class="form-control" name="knowledgePoint" placeholder="请输入知识点......" required/>
                                    </div>
                                    <label class="col-md-1 control-label">总分</label>
                                    <div class="col-md-4">
                                        <input type="number" name="totalScore" class="form-control totalScore1" placeholder="总分不必填写，将自动计算" disabled/>
                                    </div>
                                </div>
                                <!--大纲代码、认知层次-->
                                <div class="form-group">
                                    <label class="col-md-2 control-label">大纲代码</label>
                                    <div class="col-md-4">
                                        <input type="text" class="form-control" name="outlineCode" placeholder="请输入大纲代码......" required/>
                                    </div>

                                    <label class="col-md-1 control-label" style="padding-left: 0;">认知层次</label>
                                    <div class="col-md-4">
                                        <select  name="cognitiveLevel" class="form-control">
                                            <option value="记忆">记忆</option>
                                            <option value="理解">理解</option>
                                            <option value="应用">应用</option>
                                        </select>
                                    </div>
                                </div>
                                <!--问答题答案模板-->
                                <div id="answer-content-single-ploy"></div>
                                <div class="form-group">
                                    <div class="col-md-6" style="text-align: center;">
                                        <input class="btn btn-default" type="submit"  value="提交" style="background-color: #008200; color: white;"/>
                                        <button class="btn btn-default" type="reset">重置</button>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                    <!-- 成套手法 -->
                    <div class="tab-pane" id="panel-4">
                        <form class="form-horizontal" method="post" action="examinationSubmit" id="complete-ploy">
                            <div class="col-md-9">
                                <!--试题分类-->
                                <div class="form-group">
                                    <label class="col-md-2 control-label">分类</label>
                                    <div class="col-md-9">
                                        <div class="rdo">
                                            <!--妇科-->
                                            <input type="radio" name="exam-category" class="rdolist" checked="checked"/>
                                            <label class="rdobox" radio-exam-category-val="成套手法-妇科">
                                                <span class="check-image"></span>
                                                <span class="radiobox-content">妇科</span>
                                            </label>
                                            <!--儿科-->
                                            <input type="radio" name="exam-category" class="rdolist" checked="checked"/>
                                            <label class="rdobox" radio-exam-category-val="成套手法-儿科">
                                                <span class="check-image"></span>
                                                <span class="radiobox-content">儿科</span>
                                            </label>
                                            <!--伤科-->
                                            <input type="radio" name="exam-category" class="rdolist" checked="checked"/>
                                            <label class="rdobox" radio-exam-category-val="成套手法-伤科">
                                                <span class="check-image"></span>
                                                <span class="radiobox-content">伤科</span>
                                            </label>
                                            <!--内科-->
                                            <input type="radio" name="exam-category" class="rdolist" checked="checked"/>
                                            <label class="rdobox" radio-exam-category-val="成套手法-内科">
                                                <span class="check-image"></span>
                                                <span class="radiobox-content">内科</span>
                                            </label>
                                        </div>
                                    </div>
                                </div>
                                <!--题干-->
                                <div class="form-group">
                                    <label class="col-md-2 control-label">题干</label>
                                    <div class="col-md-9">
                                        <input type="text" name="stem" class="form-control" placeholder="请输入题干......" required id="complete-ploy-stem"/>
                                    </div>
                                </div>
                                <!--知识点、总分-->
                                <div class="form-group">
                                    <label class="col-md-2 control-label">知识点</label>
                                    <div class="col-md-4">
                                        <input type="text" class="form-control" name="knowledgePoint" placeholder="请输入知识点......" required/>
                                    </div>
                                    <label class="col-md-1 control-label">总分</label>
                                    <div class="col-md-4">
                                        <input type="number" name="totalScore" class="form-control totalScore1" placeholder="总分不必填写，将自动计算" disabled/>
                                    </div>
                                </div>
                                <!--大纲代码、认知层次-->
                                <div class="form-group">
                                    <label class="col-md-2 control-label">大纲代码</label>
                                    <div class="col-md-4">
                                        <input type="text" class="form-control" name="outlineCode" placeholder="请输入大纲代码......" required/>
                                    </div>

                                    <label class="col-md-1 control-label" style="padding-left: 0;">认知层次</label>
                                    <div class="col-md-4">
                                        <select  name="cognitiveLevel" class="form-control">
                                            <option value="记忆">记忆</option>
                                            <option value="理解">理解</option>
                                            <option value="应用">应用</option>
                                        </select>
                                    </div>
                                </div>
                                <!--问答题答案模板-->
                                <div id="answer-content-complete-ploy"></div>
                                <div class="form-group">
                                    <div class="col-md-6" style="text-align: center;">
                                        <input class="btn btn-default" type="submit" id="firstStopSbumit" value="提交" style="background-color: #008200; color: white;"/>
                                        <button class="btn btn-default" type="reset">重置</button>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>


</body>
<!------------------------------------template模板区----------------------------------------->
<!--问答题-腧穴题答案模板-->
<script id="answer-template-wenda-acupoint" type="text/html">
    <!--归经-->
    <div class="form-group ">
        <label class="col-sm-2 control-label">归经</label>
        <div class="col-sm-6">
            <input type="text" class="form-control" name="meridian" placeholder="请输入归经答案......" required/>
        </div>
        <label class="col-sm-1 control-label">分值</label>
        <div class="col-sm-2">
            <input type="number" class="form-control" name="meridianScore" onblur="scoreOnblur(this)" required/>
        </div>
    </div>
    <!--定位-->
    <div id="answer-content-wenda-location">
        <div class="form-group ">
            <label class="col-sm-2 control-label">定位</label>
            <div class="col-sm-6">
                <input type="text" class="form-control" name="location" placeholder="请输入定位答案......" required/>
            </div>
            <label class="col-sm-1 control-label">分值</label>
            <div class="col-sm-2">
                <input type="number" class="form-control" name="locationScore" onblur="scoreOnblur(this)" required/>
            </div>
            <div class="col-sm-1">
                <button class="btn  btn-primary" type="button" onclick="addTerms('#answer-content-wenda-location',1,'定位项已达上限','wendaAcupointLocation')"><i class="glyphicon glyphicon-plus"></i>&nbsp;添加</button>
            </div>
        </div>
    </div>
    <!--主治-->
    <div id="answer-content-wenda-mayor-cure">
        <div class="form-group ">
            <label class="col-sm-2 control-label">主治</label>
            <div class="col-sm-6">
                <input type="text" class="form-control" name="commonAnswerList[0].answer" placeholder="请输入主治答案......" required/>
            </div>
            <label class="col-sm-1 control-label">分值</label>
            <div class="col-sm-2">
                <input type="number" class="form-control" name="commonAnswerList[0].score" onblur="scoreOnblur(this)" required/>
            </div>
            <div class="col-sm-1">
                <button class="btn  btn-primary" type="button" onclick="addTerms('#answer-content-wenda-mayor-cure',6,'主治项已达上限','wendaAcupointMayorCure')"><i class="glyphicon glyphicon-plus"></i>&nbsp;添加</button>
            </div>
        </div>
    </div>
</script>
<!--问答题-内科、伤科、妇科、儿科、触诊-->
<script id="answer-template-wenda-NSFEC" type="text/html">
    <div class="form-group "><label class="col-sm-2 control-label">答案</label>
        <div class="col-sm-6">
            <input type="text" class="form-control" name="commonAnswerList[0].answer" placeholder="请输入答案......" required/>
        </div>
        <label class="col-sm-1 control-label">分值</label>
        <div class="col-sm-2">
            <input type="number" class="form-control" name="commonAnswerList[0].score" onblur="scoreOnblur(this)" required/>
        </div>
        <div class="col-sm-1" id="commonAnswerListAddBtn">
            <button class="btn  btn-primary" type="button" onclick="addTerms('#answer-content-wenda',8,'答案项已达上限','wendaNSFEC')">
                <i class="glyphicon glyphicon-plus"></i>&nbsp;添加
            </button>
        </div>
    </div>
</script>
<!--穴位定位-成人穴位答案模板-->
<script id="answer-template-acupoint-location-adult" type="text/html">
    <!--部位-->
    <div class="form-group ">
        <label class="col-sm-2 control-label">部位</label>
        <div class="col-sm-6">
            <input type="text" class="form-control" name="part" placeholder="请输入部位答案......" required/>
        </div>
        <label class="col-sm-1 control-label">分值</label>
        <div class="col-sm-2">
            <input type="number" class="form-control" name="partScore" onblur="scoreOnblur(this)" required/>
        </div>
    </div>
    <!--归经-->
    <div class="form-group ">
        <label class="col-sm-2 control-label">归经</label>
        <div class="col-sm-6">
            <input type="text" class="form-control" name="meridian" placeholder="请输入归经答案......" required/>
        </div>
        <label class="col-sm-1 control-label">分值</label>
        <div class="col-sm-2">
            <input type="number" class="form-control" name="meridianScore" onblur="scoreOnblur(this)" required/>
        </div>
    </div>
    <!--定位-->
    <div id="answer-content-acupoint-location-adult-location">
        <div class="form-group ">
            <label class="col-sm-2 control-label">定位</label>
            <div class="col-sm-6">
                <input type="text" class="form-control" name="location" placeholder="请输入定位答案......" required/>
            </div>
            <label class="col-sm-1 control-label">分值</label>
            <div class="col-sm-2">
                <input type="number" class="form-control" name="locationScore" onblur="scoreOnblur(this)" required/>
            </div>
            <div class="col-sm-1">
                <button class="btn  btn-primary" type="button" onclick="addTerms('#answer-content-acupoint-location-adult-location',1,'定位项已达上限','acupointLocationAdultLocation')"><i class="glyphicon glyphicon-plus"></i>&nbsp;添加</button>
            </div>
        </div>
    </div>
</script>
<!--穴位定位-儿科穴位答案模板-->
<script id="answer-template-acupoint-location-pediatric" type="text/html">
    <!--部位-->
    <div class="form-group ">
        <label class="col-sm-2 control-label">部位</label>
        <div class="col-sm-6">
            <input type="text" class="form-control" name="part" placeholder="请输入定位答案......" required/>
        </div>
        <label class="col-sm-1 control-label">分值</label>
        <div class="col-sm-2">
            <input type="number" class="form-control" name="partScore" onblur="scoreOnblur(this)" required/>
        </div>
    </div>
    <!--具体部位-->
    <div class="form-group ">
        <label class="col-sm-2 control-label">具体部位</label>
        <div class="col-sm-6">
            <input type="text" class="form-control" name="specificPart" placeholder="请输入具体部位答案......" required/>
        </div>
        <label class="col-sm-1 control-label">分值</label>
        <div class="col-sm-2">
            <input type="number" class="form-control" name="specificPartScore" onblur="scoreOnblur(this)" required/>
        </div>
    </div>
    <!--定位-->
    <div id="answer-content-acupoint-location-pediatric-location">
        <div class="form-group ">
            <label class="col-sm-2 control-label">定位</label>
            <div class="col-sm-6">
                <input type="text" class="form-control" name="location" placeholder="请输入定位答案......" required/>
            </div>
            <label class="col-sm-1 control-label">分值</label>
            <div class="col-sm-2">
                <input type="number" class="form-control" name="locationScore" onblur="scoreOnblur(this)" required/>
            </div>
            <div class="col-sm-1">
                <button class="btn  btn-primary" type="button" onclick="addTerms('#answer-content-acupoint-location-pediatric-location',1,'定位项已达上限','acupointLocationPediatricLocation')"><i class="glyphicon glyphicon-plus"></i>&nbsp;添加</button>
            </div>
        </div>
    </div>
</script>
<!--单项手法-儿科手法、成人手法、触诊诊断答案模板-->
<script id="answer-template-single-ploy-CEC" type="text/html">
    <div class="form-group "><label class="col-sm-2 control-label">答案</label>
        <div class="col-sm-6">
            <input type="text" class="form-control" name="commonAnswerList[0].answer" placeholder="请输入答案......" required/>
        </div>
        <label class="col-sm-1 control-label">分值</label>
        <div class="col-sm-2">
            <input type="number" class="form-control" name="commonAnswerList[0].score" onblur="scoreOnblur(this)" required/>
        </div>
        <div class="col-sm-1">
            <button class="btn  btn-primary" type="button" onclick="addTerms('#answer-content-single-ploy',8,'答案项已达上限','singlePloyCEC')">
                <i class="glyphicon glyphicon-plus"></i>&nbsp;添加
            </button>
        </div>
    </div>
</script>
<!--单项手法-儿科手法、成人手法、触诊诊断答案模板-->
<script id="answer-template-complete-ploy-FSEN" type="text/html">
    <div class="form-group "><label class="col-sm-2 control-label">答案</label>
        <div class="col-sm-6">
            <input type="text" class="form-control" name="commonAnswerList[0].answer" placeholder="请输入答案......" required/>
        </div>
        <label class="col-sm-1 control-label">分值</label>
        <div class="col-sm-2">
            <input type="number" class="form-control" name="commonAnswerList[0].score" onblur="scoreOnblur(this)" required/>
        </div>
        <div class="col-sm-1">
            <button class="btn  btn-primary" type="button" onclick="addTerms('#answer-content-complete-ploy',28,'答案项已达上限','completePloyFSEN')">
                <i class="glyphicon glyphicon-plus"></i>&nbsp;添加
            </button>
        </div>
    </div>
</script>
<script>
    var data = {};
    var answerTemplateWendaAcupoint = template('answer-template-wenda-acupoint', data);
    var answerTemplateWendaNSFEC = template('answer-template-wenda-NSFEC', data);
    var answerTemplateAcupointLocationAldult = template('answer-template-acupoint-location-adult', data);
    var answerTemplateAcupointLocationPediatric = template('answer-template-acupoint-location-pediatric', data);
    var answerTemplateSinglePloyCEC= template('answer-template-single-ploy-CEC', data);
    var answerTemplateCompletePloyFSEN= template('answer-template-complete-ploy-FSEN', data);
    /*********************************第一次加载模板*******************************************************************/
    document.getElementById('answer-content-wenda').innerHTML = answerTemplateWendaNSFEC;
    document.getElementById('answer-content-acupoint-location').innerHTML = answerTemplateAcupointLocationPediatric;
    document.getElementById('answer-content-single-ploy').innerHTML = answerTemplateSinglePloyCEC;
    document.getElementById('answer-content-complete-ploy').innerHTML = answerTemplateCompletePloyFSEN;
    /*********************************第一次加载模板*******************************************************************/
    /*********************************分类改变时改变模板*******************************************************************/
    //问答题
    $(function(){
        $(".rdobox").click(function(){
            var category = $(this).attr("radio-exam-category-val");
            if (category == '问答题-腧穴题') {
                document.getElementById('answer-content-wenda').innerHTML = answerTemplateWendaAcupoint;
            }else if (category == '问答题-内科' || category == '问答题-妇科'|| category == '问答题-伤科'|| category == '问答题-儿科'|| category == '问答题-触诊'){
                document.getElementById('answer-content-wenda').innerHTML = answerTemplateWendaNSFEC;
            }else if (category == '穴位定位-成人穴位'){
                document.getElementById('answer-content-acupoint-location').innerHTML = answerTemplateAcupointLocationAldult;
            }else if (category == '穴位定位-儿科穴位'){
                document.getElementById('answer-content-acupoint-location').innerHTML = answerTemplateAcupointLocationPediatric;
            }else if (category == '单项手法-成人手法' || category == '单项手法-儿科手法'|| category == '单项手法-触诊诊断'){
                document.getElementById('answer-content-single-ploy').innerHTML = answerTemplateSinglePloyCEC;
            }else if (category == '成套手法-妇科' || category == '成套手法-儿科'|| category == '成套手法-伤科'|| category == '成套手法-内科'){
                document.getElementById('answer-content-complete-ploy').innerHTML = answerTemplateCompletePloyFSEN;
            }
        });
    });
    /*********************************分类改变时改变模板*******************************************************************/


</script>
<!------------------------------------template模板区----------------------------------------->

<!------------------------------------分类单选框----------------------------------------->
<script>
    var a=$('input:radio:checked').val();
    $(document).ready(function () {


        //参数{input类名，选择类型(单选or多选)}
        $(".rdolist").labelauty("rdolist", "rdo");
    });
</script>
<!------------------------------------分类单选框----------------------------------------->
<!------------------------------------获取时间----------------------------------------->
<script type="text/javascript">
    function getTime() {

        var dateObj = new Date();

        var year = dateObj.getFullYear();//年
        var month = dateObj.getMonth()+1;//月  (注意：月份+1)
        var date = dateObj.getDate();//日
        var day = dateObj.getDay();
        var weeks = ["星期日","星期一","星期二","星期三","星期四","星期五","星期六"];
        var week = weeks[day];//根据day值，获取星期数组中的星期数。
        var hours = dateObj.getHours();//小时
        var minutes = dateObj.getMinutes();//分钟
        var seconds = dateObj.getSeconds();//秒

        if(month<10){
            month = "0"+month;
        }
        if(date<10){
            date = "0"+date;
        }
        if(hours<10){
            hours = "0"+hours;
        }
        if(minutes<10){
            minutes = "0"+minutes;
        }
        if(seconds<10){
            seconds = "0"+seconds;
        }

        var newDate = year+"年"+month+"月"+date+"日"+"("+week+")"+"&nbsp;&nbsp"+hours+":"+minutes+":"+seconds;
        document.getElementById("date-time").innerHTML = newDate;//在div中写入时间
        setTimeout('getTime()', 500);//每隔500ms执行一次getTime()
    }
</script>
<!------------------------------------获取时间----------------------------------------->

</html>
